<template>
  <div>
    <!-- 导航 -->
    <van-nav-bar fixed >
      <template #left>
        <van-icon @click="onBack" name="arrow-left" size="20px" color="gray" style="font-weight: bold;width: 20px"/>
      </template>
      <template #title>
        <span style="color: #FF8800;font-size: 18px">朋友圈</span>
      </template>
    </van-nav-bar>
    <div style="padding-top: 50px">
      <van-tabs>
        <van-tab title="好友动态">
          好友动态
        </van-tab>
        <van-tab title="随便看看">
          随便看看
        </van-tab>
      </van-tabs>
    </div>
  </div>
</template>

<script>
export default {
  name: 'Moments',
  methods: {
    // 返回
    onBack () {
      this.$router.back()
    }
  }
}
</script>

<style scoped>

</style>
